

import request from '@/utils/request'

export function listCarDispatch(query) {
  return request({
    url: '/system/carDispatch/list',
    method: 'get',
    params: query
  })
}
export function delCarDispatch(compFeeIds) {
  return request({
    url: '/system/carDispatch/' + compFeeIds,
    method: 'delete'
  })
}
export function carDispatchAdd(data) {
  return request({
    url: '/system/carDispatch',
    method: 'post',
    data: data
  })
}
export function updategcarDispatch(data) {
  return request({
    url: '/system/carDispatch',
    method: 'put',
    data: data
  })
}
export function carDispatchInfo(query) {
  return request({
    url: '/system/carDispatch/' + query,
    method: 'get',
  })
}